home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
1_0-2
/
EARTHPLO
/
EP_DOEDI.C
< prev
next >
Wrap
C/C++ Source or Header
|
1987-08-15
|
402b
|
27 lines
#include "ep.const.h"
#include "ep.extern.h"
#include "DialogMgr.h"
DoEditMenu (item)
int item;
{
long result;
switch (item) {
case 3: /* Cut */
case 4: /* Copy */
ZeroScrap();
HLock(ePict);
result = PutScrap(GetHandleSize(ePict),'PICT',*ePict);
HUnlock(ePict);
result = UnloadScrap();
break;
case 6: /* clear */
ZeroScrap();
break;
default:
SysBeep(3);
break;
}
}